package com.dianjing.dianqun.model;

import com.alibaba.fastjson.annotation.JSONField;

public class Site implements java.io.Serializable {
	private static final long serialVersionUID = 7333628137601031326L;

	/**
	* 
	*/
	private Integer siteId;

	/**
	 * 配置ID
	 */
	@JSONField(serialize = false)
	private Integer configId;

	/**
	 * 上传ftp
	 */
	@JSONField(serialize = false)
	private Integer ftpUploadId;

	/**
	 * 域名
	 */
	private String domain;

	/**
	 * 路径
	 */
	private String sitePath;

	/**
	 * 网站名称
	 */
	private String siteName;

	/**
	 * 简短名称
	 */
	private String shortName;

	/**
	 * 协议
	 */
	private String protocol;

	/**
	 * 动态页后缀
	 */
	private String dynamicSuffix;

	/**
	 * 静态页后缀
	 */
	private String staticSuffix;

	/**
	 * 静态页存放目录
	 */
	@JSONField(serialize = false)
	private String staticDir;

	/**
	 * 是否使用将首页放在根目录下
	 */
	@JSONField(serialize = false)
	private String isIndexToRoot;

	/**
	 * 后台本地化
	 */
	private String localeAdmin;

	/**
	 * 前台本地化
	 */
	private String localeFront;

	/**
	 * 模板方案
	 */
	private String tplSolution;

	/**
	 * 终审级别
	 */
	@JSONField(serialize = false)
	private Byte finalStep;

	/**
	 * 审核后(1:不能修改删除;2:修改后退回;3:修改后不变)
	 */
	private Byte afterCheck;

	/**
	 * 是否使用相对路径
	 */
	@JSONField(serialize = false)
	private String isRelativePath;

	/**
	 * 是否开启回收站
	 */
	@JSONField(serialize = false)
	private String isRecycleOn;

	/**
	 * 域名别名
	 */
	@JSONField(serialize = false)
	private String domainAlias;

	/**
	 * 域名重定向
	 */
	private String domainRedirect;

	/**
	 * 模版类型：0为公共，1为私有
	 */
	@JSONField(serialize = false)
	private Integer type;

	/**
	 * 站点状态：1启用，0关闭
	 */
	private String status;

	/**
	 * 
	 */
	private String isStaticIndex;

	/**
	 * 是否上传附件0：否 1：可以
	 */
	@JSONField(serialize = false)
	private Boolean isUploadFile;

	/**
	 * 是否上传视频0：否 1：可以
	 */
	@JSONField(serialize = false)
	private Boolean isUploadVideo;

	/**
	 * 是否从微博获取评论:0 否;1 是
	 */
	@JSONField(serialize = false)
	private Boolean isWeiboComment;

	/**
	 * 是否初始化4个栏目
	 */
	private Boolean isInitChnnel;

	/**
	 * 背景图
	 */
	private String backgroundImg;

	/**
	 * 关注状态 手动 封装
	 */
	private Boolean isFlow=false;

	private Long totalCount;// 总访问量 手动封装

	public Long getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Long totalCount) {
		this.totalCount = totalCount;
	}

	public Integer getSiteId() {
		return siteId;
	}

	public void setSiteId(Integer siteId) {
		this.siteId = siteId;
	}

	public Integer getConfigId() {
		return configId;
	}

	public void setConfigId(Integer configId) {
		this.configId = configId;
	}

	public Integer getFtpUploadId() {
		return ftpUploadId;
	}

	public void setFtpUploadId(Integer ftpUploadId) {
		this.ftpUploadId = ftpUploadId;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain == null ? null : domain.trim();
	}

	public String getSitePath() {
		return sitePath;
	}

	public void setSitePath(String sitePath) {
		this.sitePath = sitePath == null ? null : sitePath.trim();
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName == null ? null : siteName.trim();
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName == null ? null : shortName.trim();
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol == null ? null : protocol.trim();
	}

	public String getDynamicSuffix() {
		return dynamicSuffix;
	}

	public void setDynamicSuffix(String dynamicSuffix) {
		this.dynamicSuffix = dynamicSuffix == null ? null : dynamicSuffix.trim();
	}

	public String getStaticSuffix() {
		return staticSuffix;
	}

	public void setStaticSuffix(String staticSuffix) {
		this.staticSuffix = staticSuffix == null ? null : staticSuffix.trim();
	}

	public String getStaticDir() {
		return staticDir;
	}

	public void setStaticDir(String staticDir) {
		this.staticDir = staticDir == null ? null : staticDir.trim();
	}

	public String getIsIndexToRoot() {
		return isIndexToRoot;
	}

	public void setIsIndexToRoot(String isIndexToRoot) {
		this.isIndexToRoot = isIndexToRoot == null ? null : isIndexToRoot.trim();
	}

	public String getLocaleAdmin() {
		return localeAdmin;
	}

	public void setLocaleAdmin(String localeAdmin) {
		this.localeAdmin = localeAdmin == null ? null : localeAdmin.trim();
	}

	public String getLocaleFront() {
		return localeFront;
	}

	public void setLocaleFront(String localeFront) {
		this.localeFront = localeFront == null ? null : localeFront.trim();
	}

	public String getTplSolution() {
		return tplSolution;
	}

	public void setTplSolution(String tplSolution) {
		this.tplSolution = tplSolution == null ? null : tplSolution.trim();
	}

	public Byte getFinalStep() {
		return finalStep;
	}

	public void setFinalStep(Byte finalStep) {
		this.finalStep = finalStep;
	}

	public Byte getAfterCheck() {
		return afterCheck;
	}

	public void setAfterCheck(Byte afterCheck) {
		this.afterCheck = afterCheck;
	}

	public String getIsRelativePath() {
		return isRelativePath;
	}

	public void setIsRelativePath(String isRelativePath) {
		this.isRelativePath = isRelativePath == null ? null : isRelativePath.trim();
	}

	public String getIsRecycleOn() {
		return isRecycleOn;
	}

	public void setIsRecycleOn(String isRecycleOn) {
		this.isRecycleOn = isRecycleOn == null ? null : isRecycleOn.trim();
	}

	public String getDomainAlias() {
		return domainAlias;
	}

	public void setDomainAlias(String domainAlias) {
		this.domainAlias = domainAlias == null ? null : domainAlias.trim();
	}

	public String getDomainRedirect() {
		return domainRedirect;
	}

	public void setDomainRedirect(String domainRedirect) {
		this.domainRedirect = domainRedirect == null ? null : domainRedirect.trim();
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status == null ? null : status.trim();
	}

	public String getIsStaticIndex() {
		return isStaticIndex;
	}

	public void setIsStaticIndex(String isStaticIndex) {
		this.isStaticIndex = isStaticIndex == null ? null : isStaticIndex.trim();
	}

	public Boolean getIsUploadFile() {
		return isUploadFile;
	}

	public void setIsUploadFile(Boolean isUploadFile) {
		this.isUploadFile = isUploadFile;
	}

	public Boolean getIsUploadVideo() {
		return isUploadVideo;
	}

	public void setIsUploadVideo(Boolean isUploadVideo) {
		this.isUploadVideo = isUploadVideo;
	}

	public Boolean getIsWeiboComment() {
		return isWeiboComment;
	}

	public void setIsWeiboComment(Boolean isWeiboComment) {
		this.isWeiboComment = isWeiboComment;
	}

	public Boolean getIsInitChnnel() {
		return isInitChnnel;
	}

	public void setIsInitChnnel(Boolean isInitChnnel) {
		this.isInitChnnel = isInitChnnel;
	}

	public String getBackgroundImg() {
		return backgroundImg;
	}

	public void setBackgroundImg(String backgroundImg) {
		this.backgroundImg = backgroundImg;
	}

	public Boolean getIsFlow() {
		return isFlow;
	}

	public void setIsFlow(Boolean isFlow) {
		this.isFlow = isFlow;
	}

}